<!--{include control/admin/tpl/admin_header}-->
<div class="page_title">
    <h1>{$_lang['currencies_manage']}</h1>
    <div class="tool">
        <a href="{BASE_URL}/index.php/admin/config_currencies" class="here">{$_lang['list']}</a>
        <a  href="{BASE_URL}/index.php/admin/config_currencies/add" >{$_lang['add']}</a>
    </div>
</div>	
<div class="box tip clearfix p_relative">
    	<div class="control"><a href="javascript:void(0);" onclick="$(this).parent().parent().fadeOut();" title={$_lang['close']}><b>&times;</b></a></div>
        <div class="title"><h2>{$_lang['tips']}</h2></div>
        <div class="detail pad10">
            <ul style='color:red'>
                <li>{$_lang['open_currencies_info']}</li>
            </ul>
        </div>
	</div>
<div class="box list">
 
      <table cellpadding="0"  class="detail"  cellspacing="0">
        <tbody>
          <tr>
          <th width="10%"><a href="javascript:;" onclick="submitSort('{$uri}','currencies_id',{$ord_tag})">{$_lang['currency_id']}{if $_GET['f']=='currencies_id'}{$ord_char}{/if}</a></th>
            <th width="20%">{$_lang['currency']}</th>
            <th width="30%">{$_lang['currency_code']}</th>
			<th width="20%"><a href="javascript:;" onclick="submitSort('{$uri}','value',{$ord_tag})">{$_lang['currencies']}{if $_GET['f']=='value'}{$ord_char}{/if}</a></th>
            <th width="20%">{$_lang['operate']}</th>
          </tr>
        
          {loop $list_arr $k $v}
              <tr class="item">
	              <td>$v['currencies_id']</td>
	              {if $default_currency==$v['code']}
	              <td style='font-weight:bold'>{$v['title']}{$_lang['default']}</td>
	              {else}
	              <td>{$v['title']}</td>
	              {/if}
	              <td>$v['code']</td>
	              <td>$v['value']</td>
				  <td> 
					<a href="{$add_uri}?cid=$v['currencies_id']" class="button dbl_target"><span class="cog icon"></span>{$_lang['config']}</a>
					<a href="{$update_uri}?code=$v['code']" class="button"><span class="uparrow icon"></span>$_lang['update']</a>
					<a href="{$del_uri}?cid=$v['currencies_id']" onclick="return cdel(this);"  class="button"><span class="negative icon"></span>{$_lang['delete']}</a>
				  </td>
             </tr>
          {/loop}
		  </tbody>
          <tfoot>	
				<tr >
				    <td colspan="9">
				    <div class="page" >{$pages['page']}</div>
				  	<button class="positive primary pill button t_r" type="button" value="{$_lang['add']}" onclick="location.href='{$add_uri}'"><span class="check icon"></span>{$_lang['add']}</button>
            	 	<button class="positive primary pill button t_r" type="button" value="{$_lang['mi_update']}" onclick="location.href='{$update_uri}'"><span class="uparrow icon"></span>$_lang['mi_update']</button>
	            	</td>
		        </tr>
		 </tfoot>
         </table>
   
</div>

<!--{include control/admin/tpl/admin_footer}-->
